package com.hadluo.face.controller;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.arcsoft.face.FaceFeature;
import com.arcsoft.face.FaceInfo;
import com.arcsoft.face.FaceSimilar;
import com.arcsoft.face.toolkit.ImageFactory;
import com.arcsoft.face.toolkit.ImageInfo;
import com.hadluo.face.bean.Admin;
import com.hadluo.face.bean.UserInfo;
import com.hadluo.face.bean.dto.FaceDesignDTO;
import com.hadluo.face.bean.dto.LoginDTO;
import com.hadluo.face.bean.vo.Result;
import com.hadluo.face.repository.UserInfoReponsitory;
import com.hadluo.face.service.AdminService;
import com.hadluo.face.service.UserInfoService;
import com.hadluo.face.service.impl.FaceServiceImpl;
import com.hadluo.face.tools.Base64Util;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.*;

import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Optional;
import java.util.Set;

import static com.arcsoft.face.toolkit.ImageFactory.getRGBData;
------------------------------
完整源码：https://githubs.xyz/boot/?app=265
------------------------------
------------------------------
完整源码：https://githubs.xyz/boot/?app=265
------------------------------
------------------------------
完整源码：https://githubs.xyz/boot/?app=265
------------------------------
/**
 * @className: AdminController
 * @author: WX:hadluo QQ:657455400
 * @date: 2024/9/18 17:44
 * @Version: 1.0
 * @description:
 */
 ------------------------------
完整源码：https://githubs.xyz/boot/?app=265
------------------------------
------------------------------
完整源码：https://githubs.xyz/boot/?app=265
------------------------------
------------------------------
完整源码：https://githubs.xyz/boot/?app=265
------------------------------
@RestController
@RequestMapping("/admin")
@CrossOrigin
public class AdminController {

    @Autowired
    AdminService adminService;

    @Autowired
    UserInfoService userInfoService;

    @Value("${img-ftp}")
    String imgFtp;

    @Autowired
    UserInfoReponsitory userInfoReponsitory;


    @Autowired
    FaceServiceImpl faceServiceImpl;


}
